[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
LOOPIF conditional loop begin:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Syntax:
~~~~~~~
LOOPIF <Expr>
Description:
~~~~~~~~~~~
If the expresion <Expr> is true, the LOOP is performed.
Example:
~~~~~~~~
REPEAT
nKey:=InKey(0)
LOOPIF nKey==K_ENTER
DO CASE
CASE nKey==K_UP
...
CASE nKey==K_DOWN
...
OTHERWISE
...
ENDCASE
UNTIL nKey==K_ESC
...
All pressed keys are handled without K_ENTER, the loop is finished after
pressing of th ESC key.
Source file is Object.ch
See Also:
REPEAT
UNTIL
EXITIF
ENDWHILE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson